package com.tyrone.concurrent.basic.threadPool;

/**
 * @author Tyrone
 * @date 2021/12/5 20:19
 */
public interface ThreadPool<Job extends Runnable> {
    void execute(Job job);
    void shutdown();
    void addWorkers(int num);
    void removeWorker(int num);
    int getJobSize();
}
